package duotaitest1;

public class Cat extends Animal{

    public String name="猫";

    public Cat() {
    }

    public Cat(String colour, int age) {
        super(colour, age);
    }
    @Override
    public void eat(String something){
        System.out.println(getColour()+"的"+getAge()+"的猫在眯着眼睛侧着头吃"+something);
    }
    public void catchMouce(){
        System.out.println("猫在抓老鼠");
    }
}
